package com.domain.dao;

import com.domain.pojo.PublishAcceptance;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PublishAcceptanceMapper {
    int deleteByPrimaryKey(String id);

    int insert(PublishAcceptance record);

    int insertSelective(PublishAcceptance record);

    PublishAcceptance selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PublishAcceptance record);

    int updateByPrimaryKey(PublishAcceptance record);

    List<PublishAcceptance> selectByPublish(String id);

    List<Map<String, Object>> selectByUserId(@Param("userId") String userId);

}